Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

macOS: Do not archive/upload FlutterMacOS.dSYM to cloud #54787

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

cbracken
Copy link
Member

As of the following patches, we now bundle FlutterMacOS.framework.dSYM as part of FlutterMacOS.xcframework. The dSYM is automatically copied into the release build products directory, and bundled in the .xcarchive produced by Xcode's Product > Archive feature which produces bundles for upload to the App Store.

The .dSYM bundle is now available both in the uploaded .xcarchive and in the xcframework in Flutter's internal artifact cache. For developers with CI toolchains that do additional manual handling or local archiving of .dSYMs, the dSYMs no longer need to be downloaded from cloud storage as previously detailed in docs/Crashes.md, but can instead be copied up from the appropriate dSYM subdirectory in the framework cache:

  • flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.xcframework

Also adds documentation for crash symbolication on macOS.

Issue: flutter/flutter#153879

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

As of the following patches, we now bundle FlutterMacOS.framework.dSYM as part of FlutterMacOS.xcframework. The dSYM is automatically copied into the release build products directory, and bundled in the .xcarchive produced by Xcode's *Product > Archive* feature which produces bundles for upload to the App Store.

* #54696
* flutter/flutter#153975

The .dSYM bundle is now available both in the uploaded .xcarchive and in the xcframework in Flutter's internal artifact cache. For developers with CI toolchains that do additional manual handling or local archiving of .dSYMs, the dSYMs no longer need to be downloaded from cloud storage as previously detailed in `docs/Crashes.md`, but can instead be copied up from the appropriate dSYM subdirectory in the framework cache:

* `flutter/bin/cache/artifacts/engine/darwin-x64-release/FlutterMacOS.xcframework`

Also adds documentation for crash symbolication on macOS.

Issue: flutter/flutter#153879
@cbracken cbracken added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 26, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 26, 2024
Copy link
Contributor

auto-submit bot commented Aug 26, 2024

auto label is removed for flutter/engine/54787, due to - The status or check suite Mac mac_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label.

@cbracken cbracken added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 26, 2024
@auto-submit auto-submit bot merged commit a981a0a into flutter:main Aug 26, 2024
35 checks passed
@cbracken cbracken deleted the no-more-macos-dsym branch August 26, 2024 21:36
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 27, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 27, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 27, 2024
…154172)

flutter/engine@b41ca79...7d751ac

2024-08-27 [email protected] Roll Skia from 9460a3136627 to 7d9054c4317d (1 revision) (flutter/engine#54799)
2024-08-27 [email protected] Roll Fuchsia Test Scripts from oGxqx29_HA1eEBnt9... to vIJGWtHj4Rdku9Ayv... (flutter/engine#54800)
2024-08-27 [email protected] Store a set of layers per view. (flutter/engine#54793)
2024-08-27 [email protected] Roll Skia from 56b353d1674a to 9460a3136627 (2 revisions) (flutter/engine#54798)
2024-08-27 49699333+dependabot[bot]@users.noreply.github.com Bump google/osv-scanner-action from 1.8.3 to 1.8.4 (flutter/engine#54797)
2024-08-27 [email protected] Roll Skia from 78ebd463a911 to 56b353d1674a (1 revision) (flutter/engine#54795)
2024-08-27 [email protected] Use TRUE/FALSE consistently for gboolean values. (flutter/engine#54768)
2024-08-27 [email protected] Roll Skia from c9f157b2cc4c to 78ebd463a911 (1 revision) (flutter/engine#54792)
2024-08-26 [email protected] Roll Skia from 50378c58b60c to c9f157b2cc4c (2 revisions) (flutter/engine#54790)
2024-08-26 [email protected] Disable impeller cmake test until it is fixed (flutter/engine#54788)
2024-08-26 [email protected] macOS: Add @available check at macOS 12 workaround (flutter/engine#54784)
2024-08-26 [email protected] Roll Skia from a05dbd2a60f0 to 50378c58b60c (7 revisions) (flutter/engine#54789)
2024-08-26 [email protected] macOS: Do not archive/upload FlutterMacOS.dSYM to cloud (flutter/engine#54787)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#154172)

flutter/engine@b41ca79...7d751ac

2024-08-27 [email protected] Roll Skia from 9460a3136627 to 7d9054c4317d (1 revision) (flutter/engine#54799)
2024-08-27 [email protected] Roll Fuchsia Test Scripts from oGxqx29_HA1eEBnt9... to vIJGWtHj4Rdku9Ayv... (flutter/engine#54800)
2024-08-27 [email protected] Store a set of layers per view. (flutter/engine#54793)
2024-08-27 [email protected] Roll Skia from 56b353d1674a to 9460a3136627 (2 revisions) (flutter/engine#54798)
2024-08-27 49699333+dependabot[bot]@users.noreply.github.com Bump google/osv-scanner-action from 1.8.3 to 1.8.4 (flutter/engine#54797)
2024-08-27 [email protected] Roll Skia from 78ebd463a911 to 56b353d1674a (1 revision) (flutter/engine#54795)
2024-08-27 [email protected] Use TRUE/FALSE consistently for gboolean values. (flutter/engine#54768)
2024-08-27 [email protected] Roll Skia from c9f157b2cc4c to 78ebd463a911 (1 revision) (flutter/engine#54792)
2024-08-26 [email protected] Roll Skia from 50378c58b60c to c9f157b2cc4c (2 revisions) (flutter/engine#54790)
2024-08-26 [email protected] Disable impeller cmake test until it is fixed (flutter/engine#54788)
2024-08-26 [email protected] macOS: Add @available check at macOS 12 workaround (flutter/engine#54784)
2024-08-26 [email protected] Roll Skia from a05dbd2a60f0 to 50378c58b60c (7 revisions) (flutter/engine#54789)
2024-08-26 [email protected] macOS: Do not archive/upload FlutterMacOS.dSYM to cloud (flutter/engine#54787)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants